package com.lyh.societiesmanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("Membership")
public class Membership {
    @TableId(value = "membership_id", type = IdType.AUTO)
    private Integer membershipId;

    private Integer memberId;
    private Integer departmentId;
    private Integer clubId;
    private LocalDateTime joinDate;
    private LocalDateTime leaveDate;
    private String status;
    private LocalDateTime createdAt;
}